Working with the history object